package vn.com.demand.lux.view.contentprovider;

import java.util.List;

import vn.com.demand.lux.model.WarrantyReservalCaculationlBean;

public class WarrantyReservaCaculationlContentProvider extends BasicContentProvider {
	
	@SuppressWarnings("unchecked")
	public Object[] getElements(Object inputElement) {
		if (inputElement instanceof List) {
			List<WarrantyReservalCaculationlBean> list = (List<WarrantyReservalCaculationlBean>) inputElement;
			return list.toArray(new WarrantyReservalCaculationlBean[0]);
		}
		return null;
	}
}
